//
//  requestTool.swift
//  LivelyChat
//
//  Created by admin on 2021/6/23.
//

import Foundation
import UIKit

#if DEBUG

#endif

let USERINFOKEY = "UserInfo"

func SaveInfo(key:String,value:Any) -> Void
{
    let userdefalut = UserDefaults.standard
    userdefalut.setValue(value, forKey: key)
}
public func GetInfo(key:String) -> Any?
{
    let userdefalut = UserDefaults.standard
    return userdefalut.value(forKey: key)
}
   
let easyMobileKey: String = "1140230801175220#demo"
   
let BaseUrl = "http://vivi.mimodev.cn:8080"
//let BaseUrl = "https://api.vx703.com"
   
let termUrl = ""
let policeUrl = ""
let eulaUrl = ""
   
let guestLoginUrl = "/v1/clientApi/auth/appleLogin"
let appleLoginUrl = "/v1/appApi/appleLogin"
let regUrl = "/v1/appApi/reg"
let rechargeUrl = "/v1/appApi/recharge"
let loginUrl = "/v1/appApi/login"
let reg_infoUrl = "/v1/appApi/edit_info"
let uploadImageUrl = "/v1/appApi/uploadImage"
let userInfoUrl = "/v1/appApi/userInfo"
let userListUrl = "/v1/appApi/userList"
let videosUrl = "/v1/appApi/videos"
let InitUrl = "/v1/appApi/fristInit"
let editInfoUrl = "/v1/appApi/edit_info_new"
let buyUrl = "/v1/appApi/buy"
let anchorinfoUrl = "/v1/appApi/anchorinfo"
let anchorListUrl = "/v1/appApi/anchorList"
let getVideoTicketUrl = "/v1/appApi/getVideoTicket"
let getMajiaPlayInfoUrl = "/v1/appApi/getMajiaPlayInfo"
let delAccountUrl = "/v1/appApi/delAccount"
let houseList = "/v1/appApi/houseList"
let createHouseurl = "/v1/appApi/createHouse"
let delHouse = "/v1/appApi/delHouse"
let blockAnchor = "/v1/appApi/blockUser"
let blockUserList = "/v1/appApi/blockUserList"
let updateHouseurl = "/v1/appApi/updateHouse"
let addFriendUrl = "/v1/clientApi/user/careOrCancelUser"
let careStateUrl = "/v1/clientApi/user/careState"
let fansListUrl = "/v1/clientApi/user/fansList"
let friendListUrl = "/v1/clientApi/user/careList"
   
let fansNumUrl = "/v1/clientApi/user/fansNum"
let careNumUrl = "/v1/clientApi/user/careNum"
   
let favHouseUrl = "/v1/appApi/favHouse"
let favHouseListUrl = "/v1/appApi/favHouseList"
